package com.lzx.makeFriend.service;

import com.lzx.common.utils.R;
import com.lzx.makeFriend.entity.Chat;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lzx.makeFriend.entity.vo.NicknameVO;
import com.lzx.makeFriend.entity.vo.OssVO;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lzx
 * @since 2022-11-07
 */
public interface ChatService extends IService<Chat> {

    //朋友聊天
    R friendChat(Chat chat);

    //获取当前用户的好友聊天内容
    R getUserFriendChatContent(Long userId, Long friendId);

    //修改用户头像(好友聊天)
    String updateAvatarToChat(OssVO ossVO);

    //修改用户昵称(好友聊天)
    String updateNicknameToChat(NicknameVO nicknameVO);
}
